package com.esri.core.tasks.geodatabase;

import io.reactivex.annotations.SchedulerSupport;

/* loaded from: classes.dex */
public enum SyncDirection {
    DOWNLOAD("download"),
    UPLOAD("upload"),
    BIDIRECTIONAL("bidirectional"),
    NONE(SchedulerSupport.NONE);
    
    private String _value;

    SyncDirection(String str) {
        this._value = str;
    }

    public String getValue() {
        return this._value;
    }

    public static SyncDirection fromString(String str) {
        if ("download".equals(str)) {
            return DOWNLOAD;
        }
        if ("upload".equals(str)) {
            return UPLOAD;
        }
        if ("bidirectional".equals(str)) {
            return BIDIRECTIONAL;
        }
        if (SchedulerSupport.NONE.equals(str)) {
            return NONE;
        }
        return null;
    }

    @Override // java.lang.Enum
    public String toString() {
        return this._value;
    }
}
